<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>

    <div class="tab-wrap">
        <ul class="tab-nav nav">
            <li data-tab="tab1" class="current"><a>详细信息</a></li>
        </ul>
        <div class="tab-content">
            <form action="#" class="form-horizontal" enctype="multipart/form-data">
                <input type="text" class="hidden" name="id" value="{$info['id']}">
                <div class="form-item">
                    <label class="item-label">申请人<span class="check-tips">(昵称)</span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" value="{$info['nickname']}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">类型<span class="check-tips">(0-充值, 1-提现)</span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" value="{$info['type']}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">金额<span class="check-tips"></span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" value="{$info['count']}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">状态<span class="check-tips">(0-失败, 1-等待批准, 2-已完成)</span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" value="{$info['status']}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">申请时间<span class="check-tips"></span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" value="{$info['create_time']|date='Y-m-d H:i:s',###}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">完成时间<span class="check-tips"></span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" <if condition="$info['update_time'] neq ''">value='{$info['update_time']|date='Y-m-d H:i:s',###}'</if>>
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">操作员<span class="check-tips">(管理员昵称名)</span></label>
                    <div class="controls">
                        <input type="text" class="text input-large" value="{$info['mname']}">
                    </div>
                </div>
                <div class="form-item">
                    <if condition="$info['status'] eq 1">
                        <a class="btn btn-return confirm" href="{:U('deal',array('id'=>$info['id'],'deal'=>1))}">批 准</a>
                        <a class="btn submit-btn confirm" href="{:U('deal',array('id'=>$info['id'],'deal'=>0))}">拒 绝</a>
                    </if>
                    <button class="btn btn-return" style="background-color: #0c7dac" onclick="javascript:history.back(-1);return false;">返 回</button>
                </div>
            </form>
        </div>
    </div>
</block>
<block name="script">
    <script type="text/javascript">
        $(function() {
            //导航高亮
            highlight_subnav("{:U('index')}");
        });
    </script>
</block>